import { http } from "@/utils/http";
import { baseUrlApi } from "@/api/utils";
// 在线用户列表 
export function onlineList(params: any) {
  return http.request("get", baseUrlApi("monitor/online/list"), { params });
}
// 强制退出
export const onlineLogout = (token: number | string) => {
  return http.request("get", baseUrlApi(`monitor/online/${token}`));
};
// 定时任务列表 
export function jobList(params: any) {
  return http.request("get", baseUrlApi("monitor/job/list"), { params });
}
// 删除定时任务
export const delJob = (id: number | string) => {
  return http.request("get", baseUrlApi(`monitor/job/${id}`));
};